﻿#ifndef IMAGESAVEWORKER_H
#define IMAGESAVEWORKER_H

#include <QObject>
#include <QThreadPool>
#include "SaveTask.h"

class ImageSaveWorker : public QObject
{
    Q_OBJECT
public:
    explicit ImageSaveWorker(QObject *parent = nullptr);

public slots:
    void onInit();
    void onImageSave(QList<ImageSaveInfo> lstData);
    void onQuit();

private:
    QThreadPool mThreadPool;
};

#endif // IMAGESAVEWORKER_H
